package com.mornd.gulimall.ware.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mornd.gulimall.ware.entity.Purchase;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 采购信息 服务类
 * </p>
 *
 * @author mornd
 * @since 2023-07-29
 */
public interface IPurchaseService extends IService<Purchase> {

    IPage<Purchase> list(Purchase purchase);

    /**
     * 获取未接受的采购单 状态为0，1
     * @return
     */
    List<Purchase> unreceive();
}
